package yc.star.system.domain.sysuser.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class LoginDTO {

    @NotBlank(message = "账号不能为空")
    private String userAccount;

    @NotBlank(message = "密码不能为空")
    @Size(min = 5, max = 10, message = "密码⻓度不能少于6位，不能⼤于10位")
    private String password;

}
